set visible of Card Field 1 to not the visible of Card Field 1
end mouseUp</script>
</part>
<part>
<id>4</id>
<type>field</type>
<visible> <false /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <true /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <true /> </lockText>
<rect>
<left>152</left>
<top>93</top>
<right>368</right>
<bottom>166</bottom>
</rect>
<style>shadow</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>14</textSize>
<textStyle>plain</textStyle>
<textHeight>18</textHeight>
<name>Author Note</name>
<script>on mouseUp
set visible of me to not the visible of me
end mouseUp</script>
</part>
<part>
<id>6</id>
<type>field</type>
<visible> <true /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <true /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <true /> </lockText>
<rect>
<left>230</left>
<top>296</top>
<right>445</right>
<bottom>312</bottom>
</rect>
<style>transparent</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>10</textSize>
<textStyle>bold</textStyle>
<textHeight>13</textHeight>
<name></name>
<script>on mouseUp
show card field "Hacker Note"
end mouseUp</script>
</part>
<part>
<id>7</id>
<type>field</type>
<visible> <false /> </visible>
<dontWrap> <false /> </dontWrap>
<dontSearch> <false /> </dontSearch>
<sharedText> <false /> </sharedText>
<fixedLineHeight> <true /> </fixedLineHeight>
<autoTab> <false /> </autoTab>
<lockText> <true /> </lockText>
<rect>
<left>249</left>
<top>273</top>
<right>465</right>
<bottom>331</bottom>
</rect>
<style>shadow</style>
<autoSelect> <false /> </autoSelect>
<showLines> <false /> </showLines>
<wideMargins> <false /> </wideMargins>
<multipleLines> <false /> </multipleLines>
<reservedFamily> 0 </reservedFamily>
<titleWidth>0</titleWidth>
<icon>0</icon>
<textAlign>center</textAlign>
<font>Geneva</font>
<textSize>10</textSize>
<textStyle>plain</textStyle>
<textHeight>13</textHeight>
<name>Hacker Note</name>
<script>on mouseUp
set visible of me to not the visible of me
end mouseUp</script>
</part>
<content>
<layer>background</layer>
<id>2</id>
<text>This stack converts transcripts of NewsNet outputs into HyperCard stacks. It is also a useful demo of scripting import functions.</text>
</content>
<content>
<layer>card</layer>
<id>4</id>
<text>
NewsNet Import Stack
by Tim Oren
</text>
</content>
<content>
<layer>background</layer>
<id>7</id>
<text>Rules of the game: The import file must be plain text, and be in the root directory of the HyperCard disk. Each article starts with a line containing
"Copyright" alone. The next line is the credit line and the following line is the date line. The next line is expected to be blank. Article lines follow until another blank line. Text is then skipped until another "Copyright" line is found. The file terminator is a line of asterisks — leave the end of run in the file. One card with scrollable text is generated for each article. Each card is appended to the end of the stack, so several sessions can be put into one stack. To get rid of articles, use Delete Card. The import button is on the first card, along with the table of contents. Import will try to keep the contents current. If it gets out of sync when you manually add, delete, or move cards, use the Rebuild Contents button. Click on any contents line to go to that article, click the return arrow to come back.</text>
</content>
<content>
<layer>card</layer>
<id>6</id>
<text>HyperTalk Hackers click here.</text>
</content>
<content>
<layer>card</layer>
<id>7</id>
<text>The main import script is at the stack level. There is also an interesting scrolling link script attached to the table of contents field on the first card.</text>
</content>
<name>About WELL</name>
<script>on openCard
hide card field "Author Note"
hide card field "Hacker Note"
end openCard</script>
</card>
card_16517.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >